﻿using Core.Utility.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity.Core.Enum.Dict
{
    /// <summary>
    /// 是/否字典类型
    /// </summary>
    public enum YesOrNoDictEnum
    {
        /// <summary>
        /// 否
        /// </summary>
        [CodeValueDescription(order: 0, code: "No", value: "0", description: "否")]
        No = 0,

        /// <summary>
        /// 是
        /// </summary>
        [CodeValueDescription(order: 2, code: "Yes", value: "1", description: "是")]
        Yes = 1,
    }
}
